public class Level {

	GameMain game;
	
	public Level(GameMain game){
		this.game=game;
	}
	
	public void getLevel(){
		
		if(game.level==1){
			
		
			for(int row =0; row<1; row++){
				for(int x = 0; x<5; x++)
				{
					SpaceObject alien = new Astroid(game,100+(x*50),(int)((50 + (Math.random() ))));
					game.spaceObject.add(alien);
					game.enemyCount++;
				
				}
			}
		}
		else{
			for(int row =0; row<1; row++){
				for(int x = 0; x<7; x++)
				{
					SpaceObject alien = new Alien(game,100+(x*50),(int)((50 + (Math.random() ))));
					game.spaceObject.add(alien);
					game.enemyCount++;
				
				}
			}
		}
			
	}
}
